<?php
require './vendor/autoload.php';


$gpio = new \PiPHP\GPIO\GPIO();
$pin4 = $gpio->getOutputPin(4);
$pin4->setValue(\PiPHP\GPIO\Pin\PinInterface::VALUE_HIGH);
usleep(300*1000);
$pin4->setValue(\PiPHP\GPIO\Pin\PinInterface::VALUE_LOW);




